package com.bw.repair

import com.bumptech.glide.Glide
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class ImgAdapter: BaseQuickAdapter<String, BaseViewHolder>(R.layout.item_img) {
    override fun convert(helper: BaseViewHolder, item: String) {
        Glide.with(helper.itemView.context).load(item).into(helper.getView(R.id.img_icon))
    }

}